local success = gsub(INSTANCE_RESET_SUCCESS, "%%s", "")
local failed = gsub(INSTANCE_RESET_FAILED, ".*%%s", "")
local fail_offline = gsub(INSTANCE_RESET_FAILED_OFFLINE, ".*%%s", "")
local fail_zone = gsub(INSTANCE_RESET_FAILED_ZONING, ".*%%s", "")

local f = CreateFrame("Frame")
f:RegisterEvent("CHAT_MSG_SYSTEM")
f:SetScript("OnEvent", function()
	if IsPartyLeader() and (strfind(arg1, success) or strfind(arg1, failed) or strfind(arg1, fail_offline) or strfind(arg1, fail_zone)) then
		SendChatMessage("ResetEcho - "..arg1, "PARTY")
	end
end)